from typing import Optional

from pydantic import BaseModel


class TemplateCreateRequest(BaseModel):
    name: str
    description: Optional[str] = None
    is_default: Optional[bool] = False
    configs: dict
class BindTemplateRequest(BaseModel):
    template_id: str